home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / cellgame.swf / scripts / frame_2 / PlaceObject2_9_4 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2006-06-13  |  245 b   |  13 lines

  1. onClipEvent(enterFrame){
  2.    if(_name != "shot")
  3.    {
  4.       _root.actions.wrapAround(this);
  5.       if(getTimer() - shotTime > 1500)
  6.       {
  7.          removeMovieClip(this);
  8.       }
  9.       _X = _X + xSpeed;
  10.       _Y = _Y - ySpeed;
  11.    }
  12. }
  13.